<?php

namespace App\Http\Requests\Logic\User;

use Illuminate\Foundation\Http\FormRequest;

class QueryCollection extends FormRequest
{
    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

	/**
	 * 定义表单规则
	 *
	 * Date: 12/04/2018
	 * @author George
	 * @return array
	 */
    public function rules()
    {
        return [
        	'name' => 'nullable',
        	'mobile' => 'nullable',
        	'status' => 'nullable',
			'project_id' => 'nullable',
			'position_id' => 'nullable',
			'certificate' => 'nullable'
        ];
    }
}
